interface IHander{
    check(source: string, subsource: string): boolean
}

// 实现接口
// 与C#或Java里接口的基本作用一样，TypeScript也能够用它来明确的强制一个类去符合某种契约
class A implements IHander{
    check(source: string, subsource: string){
        return false
    }
}
const Ashili = new A()
console.log(Ashili.check('11','22'))
export default{

}